#ifndef _UART_MY_H_
#define _UART_MY_H_

/* **** Definitions **** */
#define UART_BAUD           115200
#define BUFF_SIZE           25

#include "include.h"
/* **** Globals **** */

extern volatile int read_flag;
extern volatile int write_flag;

extern const sys_cfg_uart_t sys_uart_cfg;
/* **** Functions **** */

/* **************************************************************************** */
void read_cb(uart_req_t* req, int error);

/* **************************************************************************** */
void write_cb(uart_req_t* req, int error);

/* **************************************************************************** */
void UART1_IRQHandler(void);
void UART1A_init(void);
void get_uart(void);

#endif
